class CreateEnds < ActiveRecord::Migration
  def change
    create_table :ends do |t|
	  t.references :cart
	  t.string "name", :limit => 40
	  t.string "email", :limit => 30
	  t.column :quantity,'integer unsigned', :limit => 6
	  t.date "time_new"
	  t.column :price,'integer unsigned', :limit => 10
      t.timestamps
    end
  end
end
